package com.dingwei.superiordiary.bean;

import com.dingwei.superiordiary.base.MyBaseBean;

/**
 * Created time 2018/4/1.
 * Creator 南柯一梦丶 on
 * Personal signature 余生还长 何必慌张
 * Page description :
 */

public class test extends MyBaseBean{


    /**
     * id : 103
     * pid : 37
     * product_id : 16
     * portrait : http://139.199.211.51/yprj/uploads/consumer/15//portrait.jpg?r=12814
     * nickname : 李海平
     * content : test
     * likes : 0
     * addtime : 2018-03-26 16:16
     * consumer_id : 15
     * product : {"id":"16","category":"杂货","icon":"http://139.199.211.51/yprj/uploads/product/16/icon.png?r=300393","name":"门店测试添加商品","video":"","viewed":283,"likes":1,"collection":1}
     * comment : {"id":"37","product_id":"16","portrait":"http://139.199.211.51/yprj/uploads/consumer/33//portrait.jpg?r=25525","nickname":"南柯一梦丶","content":"ssss","likes":"1","addtime":"2018-03-19 09:26"}
     * type : 3
     */

    public String id;
    public String pid;
    public String product_id;
    public String portrait;
    public String nickname;
    public String content;
    public String likes;
    public String addtime;
    public String consumer_id;
    public ProductBean product;
    public CommentBean comment;
    public int type;

    public static class ProductBean {
        /**
         * id : 16
         * category : 杂货
         * icon : http://139.199.211.51/yprj/uploads/product/16/icon.png?r=300393
         * name : 门店测试添加商品
         * video :
         * viewed : 283
         * likes : 1
         * collection : 1
         */

        public String id;
        public String category;
        public String icon;
        public String name;
        public String video;
        public int viewed;
        public int likes;
        public int collection;
    }

    public static class CommentBean {
        /**
         * id : 37
         * product_id : 16
         * portrait : http://139.199.211.51/yprj/uploads/consumer/33//portrait.jpg?r=25525
         * nickname : 南柯一梦丶
         * content : ssss
         * likes : 1
         * addtime : 2018-03-19 09:26
         */

        public String id;
        public String product_id;
        public String portrait;
        public String nickname;
        public String content;
        public String likes;
        public String addtime;
    }
}
